cmake_minimum_required(VERSION 3.1)
project(learn-cmake LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

if(win32)
    set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
endif()


set(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_LIST_DIR}/install)
add_subdirectory(src)
